package com.imgo.max.temporary.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.imgo.max.temporary.dto.SuperGirlConcertActivityDto;
import com.imgo.max.common.util.page.Pagination;
import com.imgo.max.temporary.mapper.SuperGirlConcertActivity;

public interface SuperGirlConcertActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SuperGirlConcertActivity record);

    int insertSelective(SuperGirlConcertActivity record);

    SuperGirlConcertActivity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SuperGirlConcertActivity record);

    int updateByPrimaryKey(SuperGirlConcertActivity record);
    
    
    
    
    
    
    int querySuperGirlConcertActivityCount(@Param(value = "condition") SuperGirlConcertActivityDto superGirlConcertActivityDto);
  	
  	List<SuperGirlConcertActivityDto> querySuperGirlConcertActivityPage(@Param(value = "pagination") Pagination pagination,
  			@Param(value = "condition") SuperGirlConcertActivityDto superGirlConcertActivityDto);
  	
	Integer addSuperGirlConcertActivity(
			@Param(value = "superGirlConcertActivityDto") SuperGirlConcertActivityDto superGirlConcertActivityDto);
	
	SuperGirlConcertActivityDto querySuperGirlConcertActivityById(@Param(value = "id") Integer id);
	
	int updateSuperGirlConcertActivityById(@Param(value = "superGirlConcertActivityDto") SuperGirlConcertActivityDto superGirlConcertActivityDto);

	void insertArtists(@Param(value = "superGirlConcertActivityDto")SuperGirlConcertActivityDto superGirlConcertActivityDto);
	
	
	 int querySuperGirlConcertActivityAndArtistIdCount(@Param(value = "condition") SuperGirlConcertActivityDto superGirlConcertActivityDto);
	  	
	 List<SuperGirlConcertActivityDto> querySuperGirlConcertActivityAndArtistIdPage(@Param(value = "pagination") Pagination pagination,
	  			@Param(value = "condition") SuperGirlConcertActivityDto superGirlConcertActivityDto);
	 
	int deleteSuperGirlConcertArtist(@Param(value = "superGirlConcertActivityDto") SuperGirlConcertActivityDto superGirlConcertActivityDto);
	 
}